package retrofitdemo.com.night.bean;

public class LoginSuccBean {
    /**
     * code : 200
     * msg : 请求成功
     * result : {"id":"6","mobile":"11111","name":"摩根","token":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiI2IiwiaWF0IjoxNTg1NzM2NTU3LCJleHAiOjE1ODgzMjg1NTd9.adfGUzl5bE-oOnbMp3Qtbk8FKfnVF7WLtND2eil0yCo"}
     * success : true
     * traceId :
     */

    private String code;
    private String msg;
    private ResultBean result;
    private boolean success;
    private String traceId;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }

    public static class ResultBean {
        /**
         * id : 6
         * mobile : 11111
         * name : 摩根
         * token : eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiI2IiwiaWF0IjoxNTg1NzM2NTU3LCJleHAiOjE1ODgzMjg1NTd9.adfGUzl5bE-oOnbMp3Qtbk8FKfnVF7WLtND2eil0yCo
         */

        private String id;
        private String mobile;
        private String name;
        private String token;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
